//
// Created by liushuai on 2021/1/7.
//

#ifndef LEETCODE_DELETENODE_H
#define LEETCODE_DELETENODE_H
#include "ListNode.h"
void deleteNode(ListNode* node) {
    node->val = node->next->val;
    node->next = node->next->next;
}


#endif //LEETCODE_DELETENODE_H
